<html>
<head>

</head>
<body>
<form action="t7"  method="post" enctype="multipart/form-data">
   title: <input type="text" name="title">
    <br/>
    keywords <input type="text" name="keywords">

    <br/>
    desc <input type="text" name="desc">
    <br/>
    author<input type="text" name="author">
    <br/>
    thumb<input type="file" name="thumb">
    <br/>
    content <input type="text" name="content">
    <br/>
    click<input type="text" name="click">
    <br/>
    zan <input type="text" name="zan">
    <br/>
    rec<input type="text" name="rec">
    <br/>
    time <input type="text" name="time">
    <br/>
    cateid<input type="text" name="cateid">
    验证码<input type="text" name="yzm"><img src="{{captcha_src()}}">
    <br/>
    {{csrf_field()}}
    <input type="submit" value="提交">
    @if (count($errors)>0)
        <div>
            <ul>
                @foreach ($errors->all() as $error)
                <li>{{$error}}</li>
                @endforeach
            </ul>
        </div>
    @endif
</form>
<script type="text/javascript" src="http://php-acad.28sjw.com/Statics/Assets/js/jquery.min-3.2.1.js"></script>
<script type="text/javascript">
    $(function(){
        $('img').click(function(){
            $(this).attr('src','{{captcha_src()}}' + '&_=' + Math.random());
        });
    });
</script>
</body>
</html>

